package com.nf.teamwork.mall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: LJP
 * @Classname ProductComment
 * @Date: 2020-02-27 08:13
 * @Description: 商品评论表实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("商品评论表实体类(ProductComment)")
public class ProductComment {
    @ApiModelProperty("商品评论表ID(productCommentId)")
    /*商品评论表ID*/
    private Integer productCommentId;
    @ApiModelProperty("用户表ID(userInfId)")
    /*用户表ID*/
    private Integer userInfId;
    @ApiModelProperty("商品信息表ID(productInfId)")
    /*商品信息表ID*/
    private Integer productInfId;
    @ApiModelProperty("评论内容(productCommentContent)")
    /*评论内容*/
    private String productCommentContent;
    @ApiModelProperty("评论时间(productCommentTime)")
    /*评论时间*/
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date productCommentTime;

}
